package com.ipbd.service;

import com.ipbd.domain.AppUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ipbd.dto.LoginFormDTO;
import com.ipbd.utils.R;
import com.ipbd.utils.Result;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpSession;

/**
* @author 86172
* @description 针对表【app_user(用户表)】的数据库操作Service
* @createDate 2024-03-06 20:53:48
*/
public interface AppUserService extends IService<AppUser> {

    R sendCode(String phone, HttpSession session);

    R sendUpdateCode(String phone);

    R loginWithCode(LoginFormDTO loginForm, HttpSession session);

    R updatePassword(LoginFormDTO loginForm, HttpSession session);

    R loginWithPassword(LoginFormDTO loginFormDTO);

    R setInitialPassword(LoginFormDTO loginFormDTO);
}
